import unittest
import HTMLTestReportCN
from adminHouJie import adminHouJie
suite = unittest.TestSuite()
suite.addTest(adminHouJie('test_user'))
suite.addTest(adminHouJie('test_live'))
suite.addTest(adminHouJie('test_video'))
# suite.addTest(adminHouJie('test_login'))
# suite.addTest(adminHouJie('test_login'))
# suite.addTest(adminHouJie('test_login'))
# suite.addTest(adminHouJie('test_login'))





filePath ='D:\\Report2.html'       #确定生成报告的路径
fp = open(filePath,'wb')
runner = HTMLTestReportCN.HTMLTestRunner(
    stream=fp,
    title=u'厅主后台自动化测试报告',
    #description='详细测试用例结果1',    #不传默认为空
    tester=u"郑明"     #测试人员名字，不传默认为QA
    )
#运行测试用例
runner.run(suite)